How to use DQEdit:

F2: Save
F3: Load
M: Go forward a mode
,: Go back a mode


Creating a new map:
===================

It is very important to restart the editor each time you want to make a new map. This is because of the way the scripts are designed, you simply can't just save the current map under a different filename and expect it to work, so once you pick a filename you must stick with it.

To create a new map, start the editor, and imediately save it under your map name, "name.dqm" you must use the ".dqm" extension for maps.


Drawing the map:
================

There are 4 map drawing modes, Backgroud, Overlay, Animating, and Foreground. In each of these modes press 'space' to select a tile to draw with. Press the left mouse button to draw the tile, and press and hold the right mouse button to copy and section of tiles, the left button will then paste the tiles onto the map.


Making tiles Solid:
===================

To make a tile solid (so that a player can't walk through it) go over the tile with the mouse and press 's' once. Press F5 to turn on the display that shows which tiles are solid, a small 's' will appear on tiles that are solid.

Depending on which mode you are in, you will make that tile solid, press 's' again to make a solid tile not solid.


Creating a NPC:
===============

To create a NPC go to the NPC edit mode. You can't edit the very first npc it is reserved for removing npc's from the map. 

Press '+' to go to the next npc.
Press '-' to go to the last npc.
Press 'g' to change the gfx.

So to first create an npc, press '+' once, you will see the name change  to 'no name', edit the name (this is important that each npc have a different name). Then place the Npc on the map by left clicking the mouse where you want to place it. You can edit the other npc properties by pressing the indicated keys. Walking speed 1 is very fast, 50 is slower.

You can quickly select an npc on the map by right clicking it.


Changing the Map Script:
========================

In map script edit mode, just edit the map script with one simple key press, this is the script that happens everytime a player warps into your map.


Editing Events:
===============

First change the name of the event to a proper name. Then edit the event, and place it on the map with the left mouse button. You can quickly select events that are already on the map with the right mouse button. When you place an event you will see a small letter 'e' appear on the tile where the event is. To erase an event, right click anywhere on the map where there is no event, and then left click on the event(s) you want to erase.

NOTE: All the events by the same name are linked, so if you change 'pot event' all events with that name will change.


Special Script Files:
=====================

You will see many special script files in the /scripts/ dir. If you edit each one you will get a better understanding of how they work. The start.dvs script is executed each time the player begins the game.


Editing monsters etc:
=====================

Because this part is not finished yet, I will not be explaining it.


Hot Keys:
=========

Keys F9 - F12 act as hot keys for changing modes, learn them they will speed up developement.